/**
 * Copyright(c) 2014 Xunton Solutions
 *
 * History:
 *   15-4-2 上午11:55 Created by dwzhang
 */
package com.jade.bss.service.push;

import java.io.Serializable;

/**
 * 推送结果。
 *
 * @author <a href="mailto:dwzhang@xunton.com">dwzhang</a> 
 * @version 1.0 15-4-2 上午11:55
 */
public class PushResult
        implements Serializable
{
    private boolean isOK;
    private long msgId;
    private int sendno;
    private String errMsg;

    public PushResult(boolean OK, long msgId, int sendno)
    {
        isOK = OK;
        this.msgId = msgId;
        this.sendno = sendno;
    }

    public boolean isOK()
    {
        return isOK;
    }

    public void setOK(boolean OK)
    {
        isOK = OK;
    }

    public long getMsgId()
    {
        return msgId;
    }

    public void setMsgId(long msgId)
    {
        this.msgId = msgId;
    }

    public int getSendno()
    {
        return sendno;
    }

    public void setSendno(int sendno)
    {
        this.sendno = sendno;
    }

    public String getErrMsg()
    {
        return errMsg;
    }

    public void setErrMsg(String errMsg)
    {
        this.errMsg = errMsg;
    }
}
